<%@ page contentType="text/html;charset=utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<head>
<script>
	function memberFindCheck(){
		var mem = eval("document.memberFindForm");
		
		if(mem.SNAME.value==""){
			alert("名前を入力してください。");
			mem.SNAME.focus();
			return false;
		}
		
		return true;
	}

	function openSname(memberModifyForm){
		var url = "./snameCheckAction.action";
		open(url,
			"confirm",
			"toolbar=no, location=no, status=no, menubar=no, scrollbars=yes, resizable=no, width=410, height=400");
	}
</script>
</head>

<body>

<div id="header">
	<jsp:include page="/template/top.jsp"/>
</div>	
	

	<form name="memberModifyForm" action="memberModifyAc.action" method="post">
	<table align="center" cellspacing="10" cellpadding="1">	
		
		<tr><td height="100"><font color="blue"><h3>社員マスター　「修正」</font></td></tr>
		
		<tr>
			<td><font color="red">社員コード</font><br><input type="text" name="scode" size="20" maxlength="10"/></td>
		</tr>
		
		<tr>
			<td>パスワード<br><input type="password" name="passwd" size="20" maxlength="15" /></b></td>
		<tr>
			<td border="1">社員氏名<br><input type="text" name="sname" size="20" maxlength="15"/></td>			
		</tr>
		
		<tr>
			<td>等級<br><input type="text" name="slevel" size="20" maxlength="10"/></td>
		</tr>
		
		<tr>
			<td>グループコード<br><input type="text" name="gcode" size="20" maxlength="15"/></td>
		</tr>
		<tr><td></td></tr>
		<tr>
			<td>有効期間<br>
		<tr>
		 <td>開始年月<input type="text" name="sdate" size="20" maxlength="15"/> ～
		 終了年月<input type="text" name="edate" size="20" maxlength="15"/></td>	
		</tr>
		
	</table>

	<table align="center">
		<tr>
			<td><input type="submit" value="修正" onclick="location.href='memberModifyAc.action'"></td>
			<td><input type="button" value="削除" onclick="javascript:location.href='MemberDelete.action'"></td>
		</tr>

	</table>
	</form>
</body>